<?php

use yii\db\Migration;

class m160120_101601_seed_location extends Migration
{
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
        $this->insert('location',['zip_code' => '244000','city'=>'Tong Ling','province'=>'AnHui']);
        $this->insert('location',['zip_code' => '318000','city'=>'Tai Zhou','province'=>'ZheJiang']);
    }

    public function safeDown()
    {
    }
}
